﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Puzzler.Common;

namespace Puzzler.Plugin.Interface
{
    public interface IPuzzleRibbonHandler : IPuzzlePluginAction
    {
        #region Ribbon Action

        /// <summary>
        /// Click on ribbon button
        /// </summary>
        /// <param name="key">Key of button that was clicked</param>
        void OnRibbonButtonClick(String key);

        /// <summary>
        /// Click on ribbon check box while it checks
        /// </summary>
        /// <param name="key">Key of check box that was checked</param>
        void OnRibbonChecked(String key);

        /// <summary>
        /// Click on ribbon check box while it unchecks
        /// </summary>
        /// <param name="key">Key of check box that was unchecked</param>
        void OnRibbonUnchecked(String key);

        /// <summary>
        /// Click on ribbon gallery item or combobox item while it selects
        /// </summary>
        /// <param name="key">Key of element that was selected</param>
        void OnRibbonSelected(String key);

        /// <summary>
        /// Click on ribbon gallery item or combobox item while it unselects
        /// </summary>
        /// <param name="key">Key of element that was unselected</param>
        void OnRibbonUnselected(String key);

        #endregion
    }
}
